﻿namespace LearnVocabulary.Models
{
    /// <summary>
    /// Model of a word. This is used to bind data to PopupScreen view.
    /// </summary>
    public class Word
    {
        /// <summary>
        /// This field contains name of word.
        /// </summary>
        private string _name;

        /// <summary>
        /// Gets or sets name to word.
        /// </summary>
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        /// <summary>
        /// This field contains meaning of a word.
        /// </summary>
        private string _meaning;

        /// <summary>
        /// Gets or sets meaning to word.
        /// </summary>
        public string Meaning
        {
            get { return _meaning; }
            set { _meaning = value; }
        }

        /// <summary>
        /// Contains pronunciation of word.
        /// </summary>
        private string _pronunciation;

        /// <summary>
        /// Gets or sets pronunciation to word.
        /// </summary>
        public string Pronunciation
        {
            get { return _pronunciation; }
            set { _pronunciation = value; }
        }
    }
}
